package com.edu.exam.enums.examination.online.technical;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 设备配置状态枚举
 */
public enum ProfileStatus implements BaseEnum {
    ACTIVE("ACTIVE", "活跃"),
    INACTIVE("INACTIVE", "非活跃"),
    PENDING("PENDING", "待生效"),
    APPLIED("APPLIED", "已应用"),
    FAILED("FAILED", "失败"),
    DRAFT("DRAFT", "草稿"),
    PUBLISHED("PUBLISHED", "已发布"),
    DEPRECATED("DEPRECATED", "已废弃"),
    ARCHIVED("ARCHIVED", "已归档"),
    TESTING("TESTING", "测试中"),
    VERIFIED("VERIFIED", "已验证"),
    APPROVED("APPROVED", "已批准"),
    REJECTED("REJECTED", "已拒绝"),
    SUSPENDED("SUSPENDED", "已暂停"),
    MAINTENANCE("MAINTENANCE", "维护中"),
    UNKNOWN("UNKNOWN", "未知"),
    LOADING("LOADING", "加载中"),
    UNLOADING("UNLOADING", "卸载中"),
    UPDATING("UPDATING", "更新中"),
    SYNCING("SYNCING", "同步中");

    private final String code;
    private final String description;

    ProfileStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
